package com.winning.sx.microframework.dao.base_entity;

import com.winning.dapi.data.entity.DataTable;

import java.sql.SQLException;
import java.util.Map;

public interface IDao {

    public DataTable queryList(Map<String, String> param) throws SQLException;
    public Map queryEntity(Map<String, String> param) throws SQLException;
    public boolean isExit(Map<String, String> param) throws SQLException;
    public boolean insert(Map<String, String> param) throws SQLException;
    public boolean delete(Map<String, String> param) throws SQLException;
    public boolean update(Map<String, String> param) throws SQLException;
    public DataTable queryView(String veiwName, Map<String, String> param, String orderBy) throws SQLException;
}
